projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14fbdbd
)
xend: fix an undefined name error: mac may be referenced before definition.
author
Keir Fraser
<keir.fraser@citrix.com>
Thu, 2 Jul 2009 10:34:48 +0000
(11:34 +0100)
committer
Keir Fraser
<keir.fraser@citrix.com>
Thu, 2 Jul 2009 10:34:48 +0000
(11:34 +0100)
Signed-off-by: Zhigang Wang <zhigang.x.wang@oracle.com>
tools/python/xen/xend/XendDomainInfo.py
patch
|
blob
|
history
diff --git
a/tools/python/xen/xend/XendDomainInfo.py
b/tools/python/xen/xend/XendDomainInfo.py
index bb7bd72c1fa7a69149714450d4638128249fc040..40b81cf1ac7babfeb1ea25db446e40516b70e38c 100644
(file)
--- a/
tools/python/xen/xend/XendDomainInfo.py
+++ b/
tools/python/xen/xend/XendDomainInfo.py
@@
-1230,6
+1230,7
@@
class XendDomainInfo:
if rm_cfg:
if deviceClass == 'vif':
if self.domid is not None:
+ mac = ''
for dev_num, dev_info in sxprs:
dev_num = int(dev_num)
if dev_num == dev: